/**
 * 设置路径
 */
export function setUrl(url: string) {
  window.localStorage.setItem("history", url);
}
/**
 * 获取路径
 */
export function getUrl() {
  const historyUrl = window.localStorage.getItem("history");
  if (historyUrl !== null) {
    return historyUrl;
  } else {
    return "/";
  }
}
